<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ResourceStatusUpdate.aspx.vb" Inherits="ccapps.Web.page.ResourceStatusUpdate" %>
<script>	
		function isNumeric(str)
		// returns true if str is numeric
		// that is it contains only the digits 0-9
		// returns false otherwise
		// returns false if empty
		{
			var len= str.length;
			if (len==0)
				return false;
			//else
			var p=0;
			var ok= true;
			var ch= "";
			while (ok && p<len)
			{
				ch= str.charAt(p);
				if ('0'<=ch && ch<='9')
				p++;
				else
				ok= false;
			}
			return ok;
		}

		function numericValue(str)
		// returns the numeric value of str (which must be all digits)
		{
			
			if (isNumeric(str)==false)
			{
				alert("Please enter numeric value!!!");
				document.all("TextBox2").focus();
				return "NaN";
			}
		}
</script>
<form id="Form2" method="post" runat="server">
	<input id="proc" type="hidden" name="proc" runat="server">
	<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">		
			<tr>
				<td class="solbaslik" width="150">Reasource Type</td>
				<td class="input" colSpan="3"><asp:dropdownlist id="ddl_resource" runat="server" AutoPostBack="True" Width="152px" Height="24px">
						<asp:ListItem Value="0">Choose type</asp:ListItem>
						<asp:ListItem Value="1">ICC-ID</asp:ListItem>
						<asp:ListItem Value="2">MSISDN</asp:ListItem>
					</asp:dropdownlist></td>
			</tr>
			<tr>
				<TD class="solbaslik" width="150">Reasource Number</TD>
				<TD class="input" colSpan="3"><asp:textbox id="txt_value" tabIndex="2" runat="server" width="120"></asp:textbox></TD>
			</tr>		
	</TABLE>
	<asp:label id="Lblok" runat="server" Width="608px" Height="24px" Visible="False" Font-Names="Tahoma"
		Font-Size="10pt" Font-Bold="True" ForeColor="#C00000"></asp:label>
	<asp:datagrid id="dg_DATA" runat="server" Width="616px" Height="72px" AutoGenerateColumns="False"
		BorderColor="BurlyWood">
		<AlternatingItemStyle Font-Size="9pt" HorizontalAlign="Center" ForeColor="DarkBlue" BackColor="#D0CA89"></AlternatingItemStyle>
		<ItemStyle Font-Size="9pt" Font-Names="Verdana" HorizontalAlign="Center" ForeColor="DarkBlue"
			BackColor="LemonChiffon"></ItemStyle>
		<HeaderStyle Font-Size="10pt" Font-Names="Verdana" Font-Bold="True" HorizontalAlign="Center"
			ForeColor="Orange" BackColor="DarkCyan"></HeaderStyle>
		<Columns>
			<asp:BoundColumn DataField="SM" HeaderText="ICC-ID"></asp:BoundColumn>
			<asp:BoundColumn DataField="SM_STAT" HeaderText="STATUS"></asp:BoundColumn>
			<asp:BoundColumn DataField="DNUMBER" HeaderText="MSISDN"></asp:BoundColumn>
			<asp:BoundColumn DataField="DN_STAT" HeaderText="STATUS"></asp:BoundColumn>
		</Columns>
	</asp:datagrid>
	<SCRIPT src="/ccapps/web/js/buttonset.js"></SCRIPT>
	<script>begin();link("Check","check");link("Update","update");link("Break Link","breaklink");end();</script>
</form>
